const crossOnUpdateData = {
    "name": "交叉累计报表",
    "id": "交叉累计报表",
    "type": 4,
    response_data: [{
        "商品": "A产品", "年份": 2020, "季度": 1, "销售额": 5890}, {
        "商品": "A产品",
        "年份": 2020,
        "季度": 2,
        "销售额": 4566
    }, {"商品": "A产品", "年份": 2020, "季度": 3, "销售额": 7861}, {
        "商品": "A产品",
        "年份": 2020,
        "季度": 4,
        "销售额": 5654
    }, {"商品": "A产品", "年份": 2021, "季度": 1, "销售额": 5820}, {
        "商品": "A产品",
        "年份": 2021,
        "季度": 2,
        "销售额": 5666
    }, {"商品": "A产品", "年份": 2021, "季度": 3, "销售额": 8661}, {
        "商品": "A产品",
        "年份": 2021,
        "季度": 4,
        "销售额": 5254
    }, {"商品": "B产品", "年份": 2020, "季度": 1, "销售额": 5890}, {
        "商品": "B产品",
        "年份": 2020,
        "季度": 2,
        "销售额": 4456
    }, {"商品": "B产品", "年份": 2020, "季度": 3, "销售额": 7561}, {
        "商品": "B产品",
        "年份": 2020,
        "季度": 4,
        "销售额": 3554
    }, {"商品": "B产品", "年份": 2021, "季度": 1, "销售额": 4620}, {
        "商品": "B产品",
        "年份": 2021,
        "季度": 2,
        "销售额": 5456
    }, {"商品": "B产品", "年份": 2021, "季度": 3, "销售额": 8891}, {
        "商品": "B产品",
        "年份": 2021,
        "季度": 4,
        "销售额": 5623
    }]


}
export const get_onupdatedatamaps = () => {
    let onupdatedatamaps = new Map();

    onupdatedatamaps.set(crossOnUpdateData.name, {
        name: crossOnUpdateData.name,
        id: crossOnUpdateData.id,
        type: crossOnUpdateData.type,
        response_data: Array.from(crossOnUpdateData.response_data),
    });
    return onupdatedatamaps;
}